Ext.define('HRMobile.view.EmployeeDetailForm', {
    extend: 'Ext.form.Panel',
    requires: ['Ext.TitleBar',
               'Ext.form.FieldSet'],
    controllers: ['EmployeeController'],
	config: {
		autoDestroy: 'true',
		layout: {
            type: 'card',
                    },
       
                    items: [{
                    		xclass: 'HRMobile.view.LeftNavigator',
                    		docked: 'left',
                    		width : 250,
                    		id: 'leftNavigator',
                    		hidden: Ext.os.is.Phone?true:false
                        }, 
                        {
                    	xclass: 'HRMobile.view.employeeDetails.PersonalDetailsForm'
                    	},
                    	{
                        xclass: 'HRMobile.view.employeeDetails.ContactDetailsForm'
                        },
                    	{
                        xclass: 'HRMobile.view.employeeDetails.EmergencyContactsForm'
                        },
                    	{
                        xclass: 'HRMobile.view.employeeDetails.DependentsForm'
                        },
                    	{
                        xclass: 'HRMobile.view.employeeDetails.JobsForm'
                        },
                        {
                        xclass: 'HRMobile.view.employeeDetails.SalariesForm'	
                        },
                        {
                        xclass: 'HRMobile.view.employeeDetails.SupervisorsForm'	
                        },
                        {
                        xclass: 'HRMobile.view.employeeDetails.SubordinatesForm'	
                        },
                        {
                        xclass: 'HRMobile.view.employeeDetails.ExperienceForm'	
                        },
                        {
                        xclass: 'HRMobile.view.employeeDetails.EducationForm'	
                        },
                        {
                    	xclass: 'HRMobile.view.employeeDetails.SkillForm'
                        },
                        {
                    	xclass: 'HRMobile.view.employeeDetails.LanguageForm'
                        },
                        {
                    	xclass : 'HRMobile.view.employeeDetails.LicenseForm'
                        }]
    }
});